<?php

/**
 * @author Martin Pernica
 * @copyright 2008
 */

if(!empty($_GET['id'])){
$query = $GLOBALS['db']->query("DELETE FROM ".$GLOBALS['db_prefix']."bottomblock WHERE id = '".intval($_GET['id'])."'");
		echo '<h1>Položka byla smazána !</h1>';
		echo '<meta http-equiv="refresh" content="2;url=index.php?p=build">';
}

?>